package com.victualler.core.gen.domain;

import com.victualler.core.gen.entity.EntityClassDao;
import com.victualler.core.gen.entity.EntityFieldDao;

import java.io.Serializable;
import java.util.List;

/**
 * @Aouthor Guoshichang
 * @Date 16:58 on 2018/6/24.
 * @Function
 */
public class EntityInfoDto implements Serializable{
    //类型
    private EntityClassDao entityClassDao;
    //字段列表
    private List<EntityFieldDao> entityFieldDaoList;

    public EntityInfoDto(EntityClassDao entityClassDao, List<EntityFieldDao> entityFieldDaoList) {
        this.entityClassDao = entityClassDao;
        this.entityFieldDaoList = entityFieldDaoList;
    }

    public EntityInfoDto() {
    }

    public EntityClassDao getEntityClassDao() {
        return entityClassDao;
    }

    public void setEntityClassDao(EntityClassDao entityClassDao) {
        this.entityClassDao = entityClassDao;
    }

    public List<EntityFieldDao> getEntityFieldDaoList() {
        return entityFieldDaoList;
    }

    public void setEntityFieldDaoList(List<EntityFieldDao> entityFieldDaoList) {
        this.entityFieldDaoList = entityFieldDaoList;
    }
}
